package com.neusoft.neumooc.service;

import java.util.List;
import com.neusoft.core.common.exception.ServiceException;
import com.neusoft.neumooc.vo.BackContentVO;

public interface BackContentService {
    
    /**
     * 获取栏目下所有内容
     */
    List<BackContentVO> getContentsByColumnId(String columnId) throws ServiceException;
    
    /**
     * 根据ID获取内容
     */
    BackContentVO getContentById(String contentId) throws ServiceException;
    
    /**
     * 添加内容
     */
    boolean addContent(BackContentVO content) throws ServiceException;
    
    /**
     * 更新内容
     */
    boolean updateContent(BackContentVO content) throws ServiceException;
    
    /**
     * 删除内容
     */
    boolean deleteContent(String contentId) throws ServiceException;
    
    /**
     * 更新内容状态
     */
    boolean updateContentStatus(String contentId, String status) throws ServiceException;

    /**
     * 搜索内容
     */
    List<BackContentVO> searchContents(BackContentVO searchParams) throws ServiceException;
} 